<!DOCTYPE html>
<html lang="en" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="frame/fragment">
<head>
    <meta charset="UTF-8">
    <title>Test</title>
</head>
<body>
    <div layout:fragment="content">
        <div class="nav">
            <h1>欢迎光临，<span th:text="${usrName}">usrName</span>！&nbsp;&nbsp;<a th:href="@{/logout}">退出</a></h1>
            <br />
            <br />
            <h1>
                主页面
            </h1>
        </div>
    </div>
</body>
</html>